package cn.bob.pet.service;

import cn.bob.pet.domain.Pet;
import cn.bob.basic.service.IBaseService;
import cn.bob.pet.domain.PetDetail;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author bob
 * @since 2022-10-28
 */
public interface IPetService extends IBaseService<Pet> {
    //上架
    String onsalePet(List<Long> ids) throws IOException;
    //下架
    void offsalePet(List<Long> ids);
    //查询宠物的详细信息
    Pet bydetail(Long id);
}
